<?php 
namespace app\index\validate;
use think\Validate;
class Service extends Validate{
	protected $regex = [
		// 'zname' => '\w{2,6}',
	];

	protected $rule = [
		// 'uname'=>'require|regex:zname',
		'rid'=>'require',
	];

	protected $message = [
		//'uname.require'=>'姓名不能为空',
		'rid.require'=>'请选择租房',
	];

	protected $scene = [
		// 'add'=>'uname.email,pwd',
		
	];
}

 ?>